import { Request } from 'express';

export interface IMachineAppointment {
  id: number;
  machineId: number;
  machineName: string;
  machineStartDate: string;
  machineEndDate: string;
  requestorId: number;
  requestorPhone: string;
  requestorEmail: string;
  status: string;
  approverId: number;
  approverPhone: string;
  approverEmail: string;
  approveTime: string;
  createTime: string;
};

export interface IGetMachineAppointmentByIdReq extends Request<{ id: IMachineAppointment['id'] }> { }
export interface IAddMachineAppointmentReq extends Request { }
export interface IUpdateMachineAppointmentReq extends Request<{ id: IMachineAppointment['id'] }, any> { }
export interface IDeleteMachineAppointmentReq extends Request<{ id: IMachineAppointment['id'] }> { }